package com.contain.collection.set;

import java.util.HashSet;
import java.util.LinkedHashSet;

public class HashSet_01 {
    public static void main(String[] args) {
        HashSet<String> hashSet = new HashSet<>();
        hashSet.add("hello");
        System.out.println(hashSet);
        LinkedHashSet<String> linkedHashSet = new LinkedHashSet<>() ;
        linkedHashSet.add("world") ;
        System.out.println(linkedHashSet);
    }
}
